package com.aliyun.messagemgt.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 基础表-接收组表
 * </p>
 *
 * @author wugongzi
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BaseReceiveGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 租户编码
     */
    private String tenantCode;

    /**
     * 租户名称
     */
    @TableField(exist = false)
    private String tenantName;

    /**
     * 接收组编码
     */
    private String receiveGroupCode;

    /**
     * 接收组名称
     */
    private String receiveGroupName;

    /**
     * 描述
     */
    private String description;

    /**
     * 是否启用 Y-启用 N-停用
     */
    private String isEnabled;

    /**
     * 是否逻辑删除 Y-已删除 N-未删除
     */
    @TableLogic(value = "N",delval = "Y")
    private String isDeleted;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreated;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;

    /**
     * attribute1
     */
    private String attribute1;

    /**
     * attribute2
     */
    private String attribute2;

    private String attribute3;

}
